package yuejian_07.yuejian_07.service;


import android.provider.MediaStore;

import java.util.List;

import retrofit2.http.Query;
import yuejian_07.yuejian_07.javabean.Activities;
import yuejian_07.yuejian_07.javabean.Club;
import retrofit2.Call;
import retrofit2.http.GET;
import yuejian_07.yuejian_07.javabean.Video;

/**
 * Created by jason on 2017/10/17.
 */

public interface ClubService {
    @GET("Clubs/getClubs")
    Call<List<Club>> getAllClub();

    @GET("Club/getClubinfo")
    Call<Club> getClubinfo(int c_id);

    @GET("Club/getClubactivitys")
    Call<List<Activities>> getClubactivitys(@Query("c_id") int c_id);

    @GET("Clubvideo/getClubvideolist")
    Call<List<Video>> getClubvideolist(@Query("c_id") int c_id);

    //搜索培训
    @GET("Club/searchClub")
    Call<List<Club>> searchClub(@Query("c_name") String c_name);

    //俱乐部视频列表
    @GET("Videos/getVideos")
    Call<List<Video>> getVideos();

}
